import React, { useState } from 'react';
import { Table } from 'antd';

import Comp1 from './Comp/index';
import Comp2 from './Comp/index2';

const tablehook: React.FC<{}> = () => {
  const [dataSource, setDataSource] = useState([]);
  console.log(dataSource);
  return (
    <div>
      <Comp1 />
      <hr />
      <Comp2 />
    </div>
  );
};

export default tablehook;
